<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Insert title here</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-store,no-cache"> 
<meta name="Handheldfriendly" content="true">
<meta name="viewport" content="width=100%; initial-scale=1.0; user-scalable=yes">
<link href="css/css.css" rel="stylesheet" type="text/css"/>
<link href="css/easyui.css" rel="stylesheet" type="text/css"/>
<link href="css/index.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/jquery.easyui.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/jquery.parser.js"></script>
<script type="text/javascript" charset="utf-8" src="js/my97/WdatePicker.js"></script>
<script type="text/javascript" language="javascript">
//显示从xml中取出的尿液数据
function showXML(jsondata){
	var jsonobj = eval('(' + jsondata + ')');//JSONObject格式的用此解析
	$("#uWBC").val(jsonobj.uWBC);
	$("#uKET").val(jsonobj.uKET);
	$("#uNIT").val(jsonobj.uNIT);
	$("#uURO").val(jsonobj.uURO);
	$("#uBIL").val(jsonobj.uBIL);
	$("#uPRO").val(jsonobj.uPRO);
	$("#uGLU").val(jsonobj.uGLU);
	$("#uSG").val(jsonobj.uSG);
	$("#uBLD").val(jsonobj.uBLD);
	$("#upH").val(jsonobj.upH);
	$("#uVc").val(jsonobj.uVc);
	alert(jsondata);
}
//显示从xml中取出的监护数据
function showXML2(jsondata){
	var jsonobj = eval('(' + jsondata + ')');//JSONObject格式的用此解析
	$("#cHeartRate").val(jsonobj.cHeartRate);
	$("#cBreathRate").val(jsonobj.cBreathRate);
	$("#cSpO2").val(jsonobj.cSpO2);
	$("#cPulseRate").val(jsonobj.cPulseRate);
	$("#cSP").val(jsonobj.cSP);
	$("#cDP").val(jsonobj.cDP);
	$("#cMAP").val(jsonobj.cMAP);
	$("#cTemp").val(jsonobj.cTemp);
	alert(jsondata);
}
//显示从xml中取出的血糖值数据
function showXML3(jsondata){
	var jsonobj = eval('(' + jsondata + ')');//JSONObject格式的用此解析
	$("#gGLU").val(jsonobj.gGLU);
	alert(jsondata);
}
//显示从xml中取出的血红蛋白数据
function showXML4(jsondata){
	var jsonobj = eval('(' + jsondata + ')');//JSONObject格式的用此解析
	$("#hHb").val(jsonobj.hHb);
	alert(jsondata);
}
</script>

</head>
<!-- js代码通过webView调用其插件中的java代码 -->
<body bgcolor="#ffffff">
		<div class="easyui-tabs" fit="true" border="false">
			<div title="<h1>测试数据</h1>" id="qqq">
					<table width="100%" border="0" align="center" cellpadding="0"
						cellspacing="0" class="content02">
						<tbody>
							<tr>
								<td colspan="2" class="zbt01" style="text-align: left">
									<h2>尿液分析数据</h2>
								</td>
								<td colspan="2" class="zbt01" style="text-align: right">
									<input type="button" class="btn_submit" onclick="contact.getXML('1')" value="读取数据" />
								</td>
							</tr>
							<tr>
								<td align="right" width="20%">
									<font size="4">白细胞(WBC)</font>
								</td>
								<td width="30%">
									<input id="uWBC" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly" />
								</td>
								<td align="right" width="20%">
									<font size="4">酮体(KET)</font>
								</td>
								<td width="30%">
									<input id="uKET" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">亚硝酸盐(NIT)</font>
								</td>
								<td>
									<input id="uNIT" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right">
									<font size="4">尿胆原(URO)</font>
								</td>
								<td>
									<input id="uURO" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">胆红素(BIL)</font>
								</td>
								<td>
									<input id="uBIL" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right">
									<font size="4">尿蛋白(PRO)</font>
								</td>
								<td>
									<input id="uPRO" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">葡萄糖(GLU)</font>
								</td>
								<td>
									<input id="uGLU" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right">
									<font size="4">尿比重(SG)</font>
								</td>
								<td>
									<input id="uSG" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">隐血(BLD)</font>
								</td>
								<td>
									<input id="uBLD" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right">
									<font size="4">酸碱度(pH)</font>
								</td>
								<td>
									<input id="upH" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">维C(Vc)</font>
								</td>
								<td colspan="3">
									<input id="uVc" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td colspan="2" class="zbt01" style="text-align: left">
									<h2>监护分析数据</h2>
								</td>
								<td colspan="2" class="zbt01" style="text-align: right">
									<input type="button" class="btn_submit" onclick="contact.getXML('2')" value="读取数据" />
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">心率(HeartRate)</font>
								</td>
								<td>
									<input id="cHeartRate" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right">
									<font size="4">呼吸率(BreathRate)</font>
								</td>
								<td>
									<input id="cBreathRate" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">血氧(SpO2)</font>
								</td>
								<td>
									<input id="cSpO2" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right">
									<font size="4">脉率(PulseRate)</font>
								</td>
								<td>
									<input id="cPulseRate" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">收缩压(SP)</font>
								</td>
								<td>
									<input id="cSP" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right">
									<font size="4">舒张压(DP)</font>
								</td>
								<td>
									<input id="cDP" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">平均压(MAP)</font>
								</td>
								<td>
									<input id="cMAP" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right">
									<font size="4">体温(Temp)</font>
								</td>
								<td>
									<input id="cTemp" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td colspan="4" class="zbt01" style="text-align: left">
									<h2>血糖分析数据</h2>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">血糖值(GLU)</font>
								</td>
								<td colspan="3">
									<input id="gGLU" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly" onclick="contact.getXML('3')"/>
								</td>
							</tr>
							<tr>
								<td colspan="4" class="zbt01" style="text-align: left">
									<h2>血红蛋白分析数据</h2>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">血红蛋白(Hb)</font>
								</td>
								<td colspan="3">
									<input id="hHb" name="" type="text" class="srk200" value="" maxlength="50" readonly="readonly" onclick="contact.getXML('4')"/>
								</td>
							</tr>
						</tbody>
					</table>
			</div>
		</div>
	</body>	
</html>